<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>家用电器分类</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        .type {
            width: 300px;
            border:1px dashed #3E7FCB;
            margin: 0 auto 0;
            border-radius:5px;
        }

        .type .title {
            /*从顶部到底部线性渐变*/
            background: linear-gradient(to bottom, #0467ac, #63a7d6, #b6dbf5);
            font: normal bold 18px/36px "宋体";
            height: 36px;
            color: #fff;
            padding-left: 10px;

        }

        .type .sub-title{
            background-color:#e4f1fa;
            /*从顶部到底部线性渐变*/
            /*background: linear-gradient(to bottom,#e4f1fa,#bddff7,#e4f1fa);*/

            border-radius: 5px;
            font: normal bold 14px/30px "宋体";
            height: 30px;
            color:#fff;
            padding-left: 15px;
        }
        .type dl{
            width: 280px;
            margin:5px auto 0;
        }
        .type a{
            color:#0565c6;
            text-decoration:none;
            font-size:12px;
        }
        .type a:hover{
            color:#F60;
            text-decoration:underline;
        }
        .type p{
            line-height: 26px;
            margin:5px;
            padding:5px;
        }
    </style>
</head>
<body>
<div class="type">
    <h1 class="title">家用电器</h1>
    <dl>
        <dt class="sub-title"><a href="#">大家电</a></dt>
        <dd>
            <p>&nbsp;&nbsp;<a href="#">平板电视</a>&nbsp;&nbsp;<a href="#">洗衣机</a>&nbsp;&nbsp;<a href="#">冰箱</a><br/>
                <span>&nbsp;&nbsp;</span><a href="#">空调</a>&nbsp;&nbsp;<a href="#">烟机/灶具</a>&nbsp;&nbsp;<a
                        href="#">热水器</a><br/>
                <span>&nbsp;&nbsp;</span><a href="#">冷柜/酒柜</a>&nbsp;&nbsp;<a href="#">消毒柜</a>&nbsp;&nbsp;<a href="#">家庭影院</a>
            </p>
        </dd>
    </dl>
    <dl>
        <dt class="sub-title"><a href="#">生活电器</a></dt>
        <dd>
            <p>&nbsp;&nbsp;<a href="#">电风扇</a>&nbsp;&nbsp;<a href="#">净化器</a>&nbsp;&nbsp;<a href="#">吸尘器</a><br/>
                <span>&nbsp;&nbsp;</span><a href="#">净水设备</a>&nbsp;&nbsp;<a href="#">挂烫机</a>&nbsp;&nbsp;<a
                        href="#">电话机</a>
            </p>
        </dd>
    </dl>

    <dl>
        <dt class="sub-title"><a href="#">厨房电器</a></dt>
        <dd>
            <p>&nbsp;&nbsp;<a href="#">榨汁机</a>&nbsp;&nbsp;<a href="#">电压力锅</a>&nbsp;&nbsp;<a href="#">电饭煲</a><br/>
                <span>&nbsp;&nbsp;</span><a href="#">豆浆机</a>&nbsp;&nbsp;<a href="#">微波炉</a>&nbsp;&nbsp;<a
                        href="#">电磁炉</a>
            </p>
        </dd>
    </dl>

    <dl>
        <dt class="sub-title"><a href="#">五金家装</a></dt>
        <dd>
            <p>&nbsp;&nbsp;<a href="#">淋浴/水槽</a>&nbsp;&nbsp;<a href="#">电动工具</a>&nbsp;&nbsp;<a href="#">手动工具</a><br/>
                <span>&nbsp;&nbsp;</span><a href="#">仪器仪表</a>&nbsp;&nbsp;<a href="#">浴霸/排气</a>&nbsp;&nbsp;<a
                        href="#">灯具</a>
            </p>
        </dd>
    </dl>
</div>
</body>
</html>